home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Text⁄Files / Suntar 1.3.2 / antiglue.h next >
Encoding:
C/C++ Source or Header  |  1992-09-12  |  2.8 KB  |  83 lines  |  [TEXT/KAHL]

  1. /* this file is not necessary, but it reduces the size of the
  2. application and improves its speed by avoiding to link a lot
  3. of useless glue routines: from the include files of MPW */
  4.  
  5. #ifndef THINK_C_5
  6. pascal void SFPutFile(Point, Str255, Str255, ProcPtr, SFReply *)
  7.     = {0x3F3C,0x0001,0xA9EA};
  8.  
  9. pascal void SFGetFile(Point, Str255, ProcPtr, short, SFTypeList, ProcPtr, SFReply *)
  10.     = {0x3F3C,0x0002,0xA9EA};
  11.  
  12. pascal void SFPPutFile(Point,Str255,Str255,ProcPtr,SFReply *,short,ProcPtr)
  13.     = {0x3F3C,0x0003,0xA9EA};
  14.  
  15. pascal void SFPGetFile(Point,Str255,ProcPtr,short,SFTypeList,ProcPtr,SFReply *,short,ProcPtr)
  16.     = {0x3F3C,0x0004,0xA9EA};
  17.  
  18. pascal void ResrvMem(Size)
  19.     = {0x201F,0xA040};
  20. pascal void SetApplLimit(void *)
  21.     = {0x205F,0xA02D};
  22. pascal void DisposHandle(Handle)
  23.     = {0x205F,0xA023};
  24. pascal void DisposPtr(Ptr)
  25.     = {0x205F,0xA01F};
  26. pascal void HPurge(Handle)
  27.     = {0x205F,0xA049};
  28. pascal void HNoPurge(Handle)
  29.     = {0x205F,0xA04A};
  30. pascal void FlushEvents(short,short )
  31.        = {0x201F,0xA032};
  32. pascal void HLock(Handle)
  33.     = {0x205F,0xA029};
  34. pascal void HUnlock(Handle )
  35.     = {0x205F,0xA02A};
  36. pascal void LUpdate(RgnHandle theRgn,ListHandle lHandle)
  37.     = {0x3F3C,0x0064,0xA9E7};
  38. pascal void IUDateString(long,DateForm,Str255 )
  39.     = {0x4267,0xA9ED};
  40. pascal void IUTimeString(long,Boolean,Str255)
  41.     = {0x3F3C,0x0002,0xA9ED};
  42. pascal Handle IUGetIntl(short)
  43.     = {0x3F3C,0x0006,0xA9ED}; 
  44. pascal void LActivate(Boolean act,ListHandle lHandle)
  45.     = {0x4267,0xA9E7}; 
  46. pascal void LDispose(ListHandle lHandle)
  47.     = {0x3F3C,0x0028,0xA9E7}; 
  48. pascal Boolean LSearch(void *dataPtr,short dataLen,ProcPtr searchProc,
  49.     Cell *theCell,ListHandle lHandle)
  50.     = {0x3F3C,0x0054,0xA9E7}; 
  51. pascal Boolean LClick(Point pt,short modifiers,ListHandle lHandle)
  52.     = {0x3F3C,0x0018,0xA9E7}; 
  53. pascal void LAutoScroll(ListHandle lHandle)
  54.     = {0x3F3C,0x0010,0xA9E7}; 
  55. pascal void LSetCell(void *dataPtr,short dataLen,Cell theCell,ListHandle lHandle)
  56.     = {0x3F3C,0x0058,0xA9E7}; 
  57. pascal OSErr NMInstall(NMRec* nmReqPtr)
  58.     = {0x205F,0xA05E,0x3E80}; 
  59. pascal OSErr NMRemove(NMRec* nmReqPtr)
  60.     = {0x205F,0xA05F,0x3E80}; 
  61. pascal void LSetSelect(Boolean setIt,Cell theCell,ListHandle lHandle)
  62.     = {0x3F3C,0x005C,0xA9E7}; 
  63. pascal Boolean LGetSelect(Boolean next,Cell *theCell,ListHandle lHandle)
  64.     = {0x3F3C,0x003C,0xA9E7}; 
  65. pascal short LAddRow(short count,short rowNum,ListHandle lHandle)
  66.     = {0x3F3C,0x0008,0xA9E7}; 
  67. pascal ListHandle LNew( /* Rect *rView,Rect *dataBounds,Point cSize,
  68.     short theProc,WindowPtr theWindow,Boolean drawIt,Boolean hasGrow,Boolean scrollHoriz,
  69.     Boolean scrollVert */)
  70.     = {0x3F3C,0x0044,0xA9E7}; 
  71. pascal void MoreMasters(void)
  72.     = 0xA036; 
  73.  
  74. #else
  75.     #include <Packages.h>
  76. #endif
  77.  
  78. #define TEScrapHandle() (* (Handle*) 0xAB4)
  79. #define TEGetScrapLen() ((long) * (unsigned short *) 0x0AB0)
  80. #define GetCaretTime() (* (unsigned long*) 0x02F4)
  81.  
  82.  
  83.